<!DOCTYPE HTML>
<html >
<head>
 <meta charset="UTF-8">
 <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0">
 <meta name="description" content="">
 <title></title>
 <link rel="stylesheet" href="css/bootstrap.min.css" />
<!-- <script type="text/javascript" src="js/jquery-1.8.3.min.js"></script> -->

</head>
<body>
<!-- angular 中的过滤器 filter currency orderBy uppercase lowercase -->
 <div ng-app="myModule3" ng-controller="newCont"> 
  <ul>
    <li  ng-repeat="x in names">{{x.id}}.{{((x.name) | currency)+"+"+x.years}}</li>
    <li  ng-repeat="x in names">{{(x.years) | currency}}</li> <!-- currency只能转换数字 -->
    <li  ng-repeat="x in names | orderBy:'country'">{{x.name+ x.country}}</li>
  </ul>
 </div>
 <div ng-app="myModule2">
	<div ng-controller="myText">
		<input ng-model="namess.tit" />
		<p>{{ namess.tit }}</p>
	</div>
 </div>
 
<script src="js/angular.js"></script>
<script src="js/main.js"></script>
<div></div>
</body>
</html>